IMotion.SetCamTable method
Sets a cam table by setting the connections to a relevant table.
Namespace: IntervalZero.KINGSTAR.Base.ApiAssembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0
Syntax
KsCommandStatus SetCamTable(
int Index,
McCamTable Table
)
Function SetCamTable(
Index As Integer,
Table As McCamTable
) As KsCommandStatus
Parameters
Index [in]
Type: int
The index of a cam table. Indexes are zero based.
Table [in]
Type: McCamTable
Defines the cam table.
Return value
Type: KsCommandStatus
Returns the KsCommandStatus class.
Remarks
- For more information about how a cam table works, see Concepts > Camming.
- A simulated axis can be used as master axis.
- The index of the cam table is a supplier-specific data type.
- SetCamTable lets you select a cam table that contains the data to make a cam move. This includes:
- Download the starting point of a cam profile.
- Start to generate a cam profile.
- When the
Done
field of KsCommandStatus is set, the index of the cam table is valid and ready for use in SetAxisCam.
Examples
N/A
See also